# check if optimization is enabled
import cv2
cv2.useOptimized()
